package Demo8;

public class Triangle extends  Shape{
    private double a;
    private  double b;
    private  double c;
    @Override
    public void draw(){
        System.out.println("三角形: a="+a+"b="+b+"c="+c);
    }
    @Override
    public void calArea(){
        
    }
}
